package common.filter;

import org.springframework.stereotype.Component;

import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.annotation.WebFilter;
import java.io.IOException;

/**
 * @Author: 郑国荣
 * @Date: 2024-04-06-17:40
 * @Description:
 */
@Component
@WebFilter(filterName = "HotServiceFilter", urlPatterns = {"/hot/*"})
public class HotServiceFilter extends ServiceFilter{
    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("进入hot服务过滤器========");
        super.doFilter(servletRequest, servletResponse, filterChain);
    }
}
